package com.egao.common.module.company.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author lym
 * @date 2022/9/30 14:49
 */
@Data
@ApiModel(description = "宣讲会宣讲人员")
@TableName("preach_worker")
public class PreachWorker implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("宣讲会ID")
    private Integer preachId;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("电话")
    private String mobile;

    @ApiModelProperty("职务")
    private String job;

    @ApiModelProperty("来访地")
    private String origin;

    @ApiModelProperty("车牌号")
    private String car;

    @ApiModelProperty("14天行程卡图片")
    private String tripImg;

    @ApiModelProperty("*小时核酸图片")
    private String detectionImg;

    @ApiModelProperty("连续三天核酸检测图")
    private String threeImg;

    @ApiModelProperty("添加时间")
    private Date createTime;

    @ApiModelProperty("编辑时间")
    private Date updateTime;

    @ApiModelProperty("逻辑删除 0正常 1删除")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty("14天行程卡图片")
    @TableField(exist = false)
    private String tripImgPreview;

    @ApiModelProperty("*小时核酸图片")
    @TableField(exist = false)
    private String detectionImgPreview;

    @ApiModelProperty("连续三天核酸检测图预览")
    @TableField(exist = false)
    private String threeImgPreview;
}
